package com.tzstcl.framework.constants;

/**
 * 公司：天筑科技股份有限公司
 * 作者：zgq
 * 日期：2018年08月23日
 * 说明：app常量定义
 */
public class AppConstants {

    /**
     * http协议
     */
    public static final String HTTP_PRODOCOL = "http://";

    /**
     * 数据库表 删除标记，记录有效
     */
    public static final String TABLE_DELFLAG_VALID = "0";

    /**
     * 数据库表 删除标记，记录无效
     */
    public static final String TABLE_DELFLAG_INVALID = "1";


    /**
     * 数据库表 状态标记，记录有效
     */
    public static final String TABLE_STATUS_VALID = "0";

    /**
     * 数据库表 状态标记，记录无效
     */
    public static final String TABLE_STATUS_INVALID = "1";


    public static final Integer SUCCESS = 0;
    public static final Integer ERROR = -1;

    public static final String SUCCESS_MSG = "操作成功";

    public static final String CURRENT_USER = "loginUser";

    public static final Long SUPER_ADMIN = 1L;

    public static final String CURRENT_ENABLED = "captchaEnabled";

    public static final String CURRENT_TYPE = "captchaType";

    public static final String CURRENT_VALIDATECODE = "validateCode";

    public static final String CURRENT_CAPTCHA = "captcha";

    public static final String CAPTCHA_ERROR = "captchaError";

    public static final String KAPTCHA_SESSION_KEY = "KAPTCHA_SESSION_KEY";

    public static final String SHIRO_KEY = "SHIRO_KEY";

    public static final String USER_CACHE = "USER_CACHE_";
    public static final String USER_ROLE_CACHE = "USER_ROLE_CACHE_";
    public static final String USER_PERMISSION_CACHE = "USER_PERMISSION_CACHE_";
    public static final String SUPER_ADMIN_Name = "admin";

    public static final String SYSTEM_PASSWARD = "000000";
}
